package com.book.manage.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("admin")
public class Admin {
    @TableId("id")
    private Long id;
    @TableField("username")
    private String userName;
    @TableField("passWord")
    private String password;
    @TableField("adminType")
    private Integer adminType;

}